from ftllibs.items.itemtools import ItemIconData

class Item_3128():
    def __init__(self):
        self.parent=False
        self.Name="Deathfire Grasp"
        self.IconFileName="3128.png"
        self.ID=3128
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['3098','1052','1026']
        self.Builds_Into=[]
        self.Tags=['spell_damage','cooldown_reduction']
        self.Costs = 975
        self.Total_Costs = 2600
        self.Description="+80 Ability Power  UNIQUE Passive: +15% Cooldown Reduction  UNIQUE Active: Deals magic damage to target champion equal to 25% of their current Health (+4% per 100 Ability Power) with a minimum of 200 damage (60 second cooldown)."
        self.RichText_Description=""
        self.has_active=True
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Ability_Power += 80.0
        self.parent.Cooldown_Reduction += 15.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


